package com.hcbd.tdwt.ui.xingyu.vo;
public class PositionVo {
    public int id;
    private int number;
    //经度
    private double longitude;
    //纬度
    private double latitude;
    //海拔
    private double altitude;
    //速度
    private double speed;
    private double bearing;
    //时间戳(秒)
    private long time;
    //定位类型:BD("北斗定位"),GPS("GPS定位"),RN("RN定位"),RD("RD定位"),APP("手机定位"),GPRS("基站定位"),OTHERS("其他定位");
    private String type;

    public PositionVo() {
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Position{" +
                "longitude=" + longitude +
                ", latitude=" + latitude +
                ", altitude=" + altitude +
                ", time=" + time +
                ", type='" + type + '\'' +
                '}';
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }


    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public double getBearing() {
        return bearing;
    }

    public void setBearing(double bearing) {
        this.bearing = bearing;
    }
}
